import java.util.Arrays;

public class Main {



    public static void rotate(int[] nums, int k) {
        int n = nums.length;
        int[] array = new int[n];
        for (int i = 0; i < n; i++) {
            array[(i+k)%n] = nums[i];
        }

    }

    public static void main(String[] args) {
        int[] nums2 = {1,2,3,4,5,6,7};

    }
}